package com.itheima.easyexceldemo.mapper;

import com.itheima.easyexceldemo.pojo.LoginInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * TODO
 *
 * @Author mr.luo
 * @Date 13 4月 2025 12:15
 */
@Mapper
public interface EmpMapper {
    /**
     * 登录
     */
    @Select("select * from emp where username = #{username} and password = #{password}")
    LoginInfo login();
}
